const {selectOne} = require('../util/db-util')

async function getShareNode(id) {
    let arr = await selectOne('share', 'id', id)
    return arr[0]
}

module.exports = getShareNode